import request from '../utils/request';

export default class User {
  static async getSession(params) {
    return await request.get('/wx/login', {
      code: params.code,
      nick: params.nick,
    });
  }
}
